package com.wdf.project02.Service.impl;

import com.wdf.project02.Mapper.UserMapper;
import com.wdf.project02.Service.UserService;
import com.wdf.project02.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> list() {
        return userMapper.list();
    }
}
